package com.atguigu.eduservice.entity.subject;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 通用分类
 * */
@Data
public class Subject {
    private String id;
    private String title;

    private String parentId;
    private List<TwoSubject> children = new ArrayList<>();
}
